<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>d001</title>
	</head>
	<body>
		<div id="demo">
			<h1>Hello,{{name.toUpperCase()}},{{address}}</h1>
			<h2 v-once>{{n}}</h2>
			<h2>{{n}}</h2>
			<button @click="n++">点我加n</button>
		</div>
	</body>
	<script src="../js/vue.js"></script>
	<script>
		Vue.config.productionTip = false //阻止 vue 在启动时生成生产提示。
		new Vue({
			el:'#demo',
			data:{
				name:'fuck',
				address:'日本',
				n:1
			}
		})
	</script>
</html>